package cn.jit.ssm.mapper;

import cn.jit.ssm.beans.entity.JitBook;
import cn.jit.ssm.beans.entity.JitBookExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JitBookMapper {
    int countByExample(JitBookExample example);

    int deleteByExample(JitBookExample example);

    int deleteByPrimaryKey(Integer bookId);

    int insert(JitBook record);

    int insertSelective(JitBook record);

    List<JitBook> selectByExample(JitBookExample example);

    JitBook selectByPrimaryKey(Integer bookId);

    int updateByExampleSelective(@Param("record") JitBook record, @Param("example") JitBookExample example);

    int updateByExample(@Param("record") JitBook record, @Param("example") JitBookExample example);

    int updateByPrimaryKeySelective(JitBook record);

    int updateByPrimaryKey(JitBook record);
}